<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:rich="http://richfaces.org/rich"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:a4j="http://richfaces.org/a4j">
    <h:head>
        <title>Facelet Title</title>
    </h:head>
    <h:body>
        <h:form>
        <rich:panel header="#{usuario.painel}" id="painel"/>
        <br/>
        <rich:panel >
            <f:facet name="header">
                <h:outputText value="Teste"/>
            </f:facet>
            <a4j:commandButton render="painel" value="Alessandro">
                    <a4j:param assignTo="#{usuario.definirHeader}" value="Alessandro"/>
                </a4j:commandButton>
                
                <a4j:commandButton render="painel" value="Marcinha">
                    <a4j:param assignTo="#{usuario.definirHeader}" value="Marcinha"/>
                </a4j:commandButton>
        </rich:panel>
        </h:form>
    </h:body>
</html>

